﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Drawing;
using System.Drawing.Imaging;

namespace LowLevelGraphics.SeamCarving
{
    /// <summary>
    /// Seam function
    /// </summary>
    public abstract class SeamFunction
    {
        protected Seam[] verticalSeams;
        protected Seam[] horizontalSeams;
        public EnergyFunction EnergyFunction { get; set; }
        public EnergyBias EnergyBias { get; set; }
        public abstract void ComputeAllSeams(Direction direction, Size size);
        public abstract void RecomputeSeams(Seam seam, Size size);
        public abstract void UpdateSeamEnergy(Direction direction, int x, int y);
        public abstract Seam FindLowestEnergy(Direction direction,
        ComparisonMethod comparisonMethod, Size size);
    }
}
